PATHMac OS 8 and 9 Developer Documentation > Interapplication Communication > AppleScript for Scripters >

AppleScript Language Guide

  

Figures and Tables

Chapter 2  Overview of AppleScript

Figure 2-1  Closing a window with the mouse and with a script

Figure 2-2   Different ways to run a script

Figure 2-3   A script that automates a frequently performed set of steps

Figure 2-4   A script that copies information from one application to another

Figure 2-5   How AppleScript works

Figure 2-6   The Finder's dictionary, with Item class displayed

Figure 2-7   How the Script Editor accesses the Finder's dictionary


Chapter 3   Values and Constants

Figure 3-1   Formats for the String (or Text), Unicode Text, and International Text value classes

Figure 3-2   How the Script Editor displays String, Unicode Text, and International Text data

Figure 3-3   Coercions supported by AppleScript

Table 3-1   Common AppleScript value class identifiers


Chapter 4   Commands

Figure 4-1   The AppleWorks document "Simple"

Table 4-1   Standard application-only commands

Table 4-2   AppleScript and application commands


Chapter 5   Objects and References

Table 5-1   Window class definition from the Finder dictionary

Table 5-2   Window class definition from the AppleWorks dictionary

Table 5-3   Reference forms

Table 5-4   Boolean expressions and tests in Filter references


Chapter 6   Expressions

Figure 6-1   Two-digit dates at century boundaries

Table 6-1   AppleScript operators 

Table 6-2   Operator precedence 


Chapter 8   Handlers

Figure 8-1   Scope of property and variable declarations at the top level of a script

Figure 8-2   Scope of property and variable declarations at the top level of a script object

Figure 8-3   Scope of variable declarations within a handler


Chapter 9   Script Objects

Figure 9-1   Relationship between a simple child script and its parent

Figure 9-2   Another child-parent relationship

Figure 9-3   A more complicated child-parent relationship


Appendix A   The Language at a Glance

Figure A-1   Coercions supported by AppleScript

Table A-1   Links to sample scripts and other useful information

Table A-2   Constants defined by AppleScript  

Table A-3   Predefined variables   

Table A-4   Command syntax 

Table A-5   Reference form syntax 

Table A-6   Container notation in references

Table A-7   Operators  

Table A-8   Operator precedence 

Table A-9   Control statements 

Table A-10   Handler definitions and calls 

Table A-11   Script objects

Table A-12   Assignments and declarations 

Table A-13   Placeholders used in syntax descriptions 


Appendix B   Document Revision History

Table B-1    AppleScript Language Guide document revision history


© 1999 Apple Computer, Inc. – (Last Updated 21 May 99)